<?php

class Migration_Add_Closed_Lotes extends CI_Migration {
	 
	private $table = 'lotes';

	function up() {

		$obj = $this->dbforge;
		$column = array(
				'CLOSED' => array(
						'type' => 'CHAR',
						'constraint' => '1',
						'default' => 'N',
						'null' => true

				)
		);

		$obj->add_column($this->table, $column);
	}

}
